package com.campus.pojos.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClientUser {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String userName;

    private String avatar;

    private String nickName;

    private String sex;

    private String password;

    private String email;

    private String phone;

    private String grade;

    private String major;

    /**
     * 0.禁用 1.启用
     */
    private Integer status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
